package com.annual.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取项目相关配置
 * 
 * @author annualReview
 */
@Data
@Component
@ConfigurationProperties(prefix = "wx-pay")
public class WxPayConfig {
//    private String appId;
//    private String appSecret;
    private String mchId;
    private String privateKeyPath;
    private String publicKeyPath;
    private String publicKeyId;
    private String merchantSerialNumber;
    private String apiV3Key;
    private String notifyUrl;
    private String verifyIdentity;

}
